home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet multimedia / Linux LiveCD / GeeXboX 1.0 EN / geexbox-1.0-en.i386.iso / GEEXBOX / etc / init.d / 53_httpd < prev    next >
Text File  |  2006-06-21  |  258b  |  17 lines

  1. #!/bin/sh
  2. #
  3. # start http daemon
  4. #
  5. # runlevels: geexbox, debug
  6.  
  7. # get options
  8. test -f /etc/network || exit 1
  9. . /etc/network
  10.  
  11. if test "$HTTP_SERVER" = "yes"; then
  12.   echo "### Starting http daemon ###"
  13.   /usr/sbin/httpd -h /var/www >/dev/null 2>&1 &
  14. fi
  15.  
  16. exit 0
  17.